package org.heart.springsecurity.exceptions;

/**
 * 自定义异常创建
 */
public class CustomExceptions {
    public static class CustomUserNotFoundException extends RuntimeException {
        public CustomUserNotFoundException(String message) {
            super(message);
        }
    }

    public static class CustomPhoneException extends RuntimeException {
        public CustomPhoneException(String message) {
            super(message);
        }
    }

}
